package com.jcx.ldzj.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
/**
* 业精于勤荒于嬉，行成于思毁于随！
* @author Ð¡Ìì
* @since 2021-01-20
*/
@Data
@TableName("dept_user")
@ApiModel(value="用户部门关联", description="用户部门关联")
public class DeptUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "表id")
    @TableId("id_")
    private String id;

    @ApiModelProperty(value = "部门id")
    @TableField("dep_id_")
    private String depId;

    @ApiModelProperty(value = "部门名称")
    @TableField("dep_name_")
    private String depName;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id_")
    private String userId;

    @ApiModelProperty(value = "用户名称")
    @TableField("user_name_")
    private String userName;
}
